home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 25
/
Cream of the Crop 25.iso
/
bbs
/
fcfgw40s.zip
/
SELECTLE.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1996-04-17
|
1KB
|
57 lines
// SelectLevel.cpp : implementation file
//
#include "stdafx.h"
#include "FileCFG.h"
#include "SelectLevel.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSelectLevel dialog
CSelectLevel::CSelectLevel(CWnd* pParent /*=NULL*/)
: CDialog(CSelectLevel::IDD, pParent)
{
//{{AFX_DATA_INIT(CSelectLevel)
m_Level = 0;
m_MatchLevel = -1;
//}}AFX_DATA_INIT
}
void CSelectLevel::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSelectLevel)
DDX_Control(pDX, IDC_RADIO_EXACT, m_Match);
DDX_Control(pDX, IDC_SPIN_LEVEL, m_Spin);
DDX_Text(pDX, IDC_EDIT_LEVEL, m_Level);
DDV_MinMaxUInt(pDX, m_Level, 0, 65535);
DDX_Radio(pDX, IDC_RADIO_EXACT, m_MatchLevel);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSelectLevel, CDialog)
//{{AFX_MSG_MAP(CSelectLevel)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSelectLevel message handlers
BOOL CSelectLevel::OnInitDialog()
{
CDialog::OnInitDialog();
m_Spin.SetRange(0, UD_MAXVAL);
m_Match.SetCheck(1);
return TRUE;
}